package com.niuwa.p2p.dao.custservice;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.custservice.CustServiceGroupMember;
import com.niuwa.p2p.entity.custservice.CustServiceGroupMemberKey;

@MyBatisDao
public interface CustServiceGroupMemberDao {
    int deleteByPrimaryKey(CustServiceGroupMemberKey key);

    int insert(CustServiceGroupMember record);

    int insertSelective(CustServiceGroupMember record);

    CustServiceGroupMember selectByPrimaryKey(CustServiceGroupMemberKey key);

    int updateByPrimaryKeySelective(CustServiceGroupMember record);

    int updateByPrimaryKey(CustServiceGroupMember record);
    
    /**
     * 根据小组编号查询所属成员信息
     * @param groupId
     * @return
     */
    List<CustServiceGroupMember> selectGroupMemberByGroupId(long groupId);
}